Module globals
    Public dbServerName As String = "(local)\sqlexpress"
    Public dbPassword As String = "Vendredi!"
    Public dbUserName As String = "ern_server"
    Public dbName As String = "ERN"
    Public dbType As String = "sql2005"

    Public ern_serverQueueSize As Integer = 5
    Public ern_defaultCheckInTime As Integer = 15 'in minutes
    Public ern_defaultRebootReminderTime1 As Date = Date.Parse("7/5/2007 8:00am")
    Public ern_defaultRebootReminderTime2 As Date = Date.Parse("7/5/2007 12:00pm")
    Public ern_defaultRebootReminderTime3 As Date = Date.Parse("7/5/2007 3:00pm")
    Public ern_defaultRebootReminderInterval As Integer = 60
    Public ern_defaultRebootReminderSchedule As rebootScheduleType = rebootScheduleType.everyFewMinutes
    Public ern_defaultScheduledRebootDay As Integer = 0
    Public ern_defaultAUEnabled As Boolean = True
    Public ern_defaultAUDay As Integer = 5
    Public ern_defaultAUTime As String = "10:00pm"

    Public serverSocket As New TcpListener(System.Net.IPAddress.Any, ern_serverPort)
    Public adminSocket As New TcpListener(System.Net.IPAddress.Any, ern_adminPort)
    Public broadcastSocket As Net.Sockets.UdpClient
    Public broadcastEndPoint As New Net.IPEndPoint(Net.IPAddress.Any, 0)
    Public thrListener As System.Threading.Thread
    Public thrAdminListener As System.Threading.Thread
    Public thrBroadcastListener As System.Threading.Thread
    Public clients As New ernClient
    Public admins As New ernClient

    Public WithEvents log As New logging
    Public sql As New sqlClient
    Public systray As New Windows.Forms.NotifyIcon
End Module
